.modal-underlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  z-index: 3;
}

.ReactModal__Overlay--after-open {
  opacity: 1;
  transition: opacity 0.15s;
}

.ReactModal__Overlay--before-close {
  opacity: 0;
}

.modal {
  position: absolute;
  display: flex;
  align-items: flex-start;
  height: 0;
  outline: 0;
}

.modal-textarea-wrapper {
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  flex-direction: column;
  box-sizing: border-box;
  margin-bottom: 6px;
  border-radius: 3px;
  background: white;
  transition: background 0.2s;
}

.modal-textarea {
  flex-grow: 1;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: inherit;
  font-family: inherit;
  font-size: 16px;
  line-height: inherit;
  resize: none;
  overflow: hidden;
  outline: none;
}
